Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch Forge builds to the multi-region Docker repository #12717

Merged

Conversation

sionescu
Copy link
Contributor

Description

Cherry-pick Forge and Docker build changes from main: push Docker images only to the newer multi-region repository.

How Has This Been Tested?

Already in main.

sionescu and others added 3 commits March 27, 2024 20:02
We currently dont check that the tag and the aptos-node cargo.toml version match

This ensures that before publish we have to check the tag and version match only for release images

Test Plan: wrote unittests and added a testing workflow

made the script possibel to unittest
Reference GCP_DOCKER_ARTIFACT_REPO as configuration variable for
better debuggability.
@sionescu sionescu requested a review from perryjrandall March 28, 2024 00:04
@sionescu sionescu requested review from a team and JoshLind as code owners March 28, 2024 00:04
Copy link

trunk-io bot commented Mar 28, 2024

@sionescu sionescu enabled auto-merge (rebase) March 28, 2024 18:12

This comment has been minimized.

This comment has been minimized.

Copy link
Contributor

✅ Forge suite compat success on aptos-node-v1.9.5 ==> a94e8b5b7ac5182e44cf10fb92fbfa4978a4028c

Compatibility test results for aptos-node-v1.9.5 ==> a94e8b5b7ac5182e44cf10fb92fbfa4978a4028c (PR)
1. Check liveness of validators at old version: aptos-node-v1.9.5
compatibility::simple-validator-upgrade::liveness-check : committed: 6704 txn/s, latency: 4988 ms, (p50: 4800 ms, p90: 8900 ms, p99: 9800 ms), latency samples: 234640
2. Upgrading first Validator to new version: a94e8b5b7ac5182e44cf10fb92fbfa4978a4028c
compatibility::simple-validator-upgrade::single-validator-upgrade : committed: 749 txn/s, latency: 32796 ms, (p50: 34800 ms, p90: 52000 ms, p99: 53600 ms), latency samples: 58440
3. Upgrading rest of first batch to new version: a94e8b5b7ac5182e44cf10fb92fbfa4978a4028c
compatibility::simple-validator-upgrade::half-validator-upgrade : committed: 178 txn/s, submitted: 514 txn/s, expired: 335 txn/s, latency: 42186 ms, (p50: 36500 ms, p90: 55200 ms, p99: 64300 ms), latency samples: 13940
4. upgrading second batch to new version: a94e8b5b7ac5182e44cf10fb92fbfa4978a4028c
compatibility::simple-validator-upgrade::rest-validator-upgrade : committed: 2424 txn/s, latency: 12171 ms, (p50: 11500 ms, p90: 19200 ms, p99: 19500 ms), latency samples: 118780
5. check swarm health
Compatibility test for aptos-node-v1.9.5 ==> a94e8b5b7ac5182e44cf10fb92fbfa4978a4028c passed
Test Ok

Copy link
Contributor

✅ Forge suite realistic_env_max_load success on a94e8b5b7ac5182e44cf10fb92fbfa4978a4028c

two traffics test: inner traffic : committed: 7019 txn/s, latency: 5577 ms, (p50: 5400 ms, p90: 6900 ms, p99: 12300 ms), latency samples: 3039380
two traffics test : committed: 100 txn/s, latency: 2100 ms, (p50: 2000 ms, p90: 2300 ms, p99: 8400 ms), latency samples: 1760
Latency breakdown for phase 0: ["QsBatchToPos: max: 0.223, avg: 0.204", "QsPosToProposal: max: 0.231, avg: 0.202", "ConsensusProposalToOrdered: max: 0.576, avg: 0.521", "ConsensusOrderedToCommit: max: 0.405, avg: 0.388", "ConsensusProposalToCommit: max: 0.939, avg: 0.909"]
Max round gap was 1 [limit 4] at version 1465397. Max no progress secs was 7.335171 [limit 15] at version 1465397.
Test Ok

@sionescu sionescu disabled auto-merge March 28, 2024 19:34
@sionescu sionescu merged commit f892495 into aptos-release-v1.10 Mar 28, 2024
82 of 83 checks passed
@sionescu sionescu deleted the stelian/aptos-release-v1.10-docker-build branch March 28, 2024 19:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants